package org.abettor.angleworm.router;

import java.net.InetSocketAddress;
import java.util.EventObject;

/**
 * 通信隧道服务器事件
 * @author <a href="http://www.abettor.org/" target="_blank">abettor</a>
 *
 */
@SuppressWarnings("serial")
public class TunnelServerEvent extends EventObject
{
	/**
	 * 通信隧道服务器事件类型
	 */
	public TunnelServerEventType type;
	/**
	 * 通往某Peer所使用的路由
	 */
	public Route route;
	/**
	 * 起源客户端的地址
	 */
	public InetSocketAddress original;

	/**
	 * @see java.util.EventObject#EventObject(Object)
	 */
	public TunnelServerEvent(Object src)
	{
		super(src);
	}
}
